package com.thesis.manage.service;

import com.thesis.manage.common.service.BaseService;
import com.thesis.manage.domain.StudentTeacher;
import com.thesis.manage.service.module.vo.DocumentStatusVO;
import com.thesis.manage.service.module.vo.StudentVO;

import java.util.List;

/**
 * @author php
 * @date 2018/2/24
 */
public interface StudentTeacherService extends BaseService<StudentTeacher> {
    /**
     * 通过实体查询学生
     *
     * @param studentTeacher 条件实体
     * @return list
     */
    List<StudentTeacher> findAll(StudentTeacher studentTeacher);

    /**
     * 通过教师号查询学生
     *
     * @param studentTeacher 查询实体
     * @return list
     */
    List<StudentVO> findAllByTeacherId(StudentTeacher studentTeacher);

    /**
     * 通过学生id查询文档信息
     *
     * @param id 学生id
     * @return documentStatusVO
     */
    DocumentStatusVO findStudentThesisByStudentId(Long id);

    /**
     * 通过学生号查询
     *
     * @param studentNumber 学生号
     * @return studentTeacher
     */
    StudentTeacher findByStudentNumber(String studentNumber);
}
